{include file="rootbase/head"}
<div class="">
    <div class="page-title">
      <div class="title_left">
        <h3>评委信息</h3>
      </div>
    
      <div style="position: absolute;left:500px;top: 10px;" >
        根据大赛查询评委：
        <form action="http://www.tp5.com/vote/root/find" method="post">
          <select name="sid">
            {volist name="race" id='race'}
                      <option value="{$race.rid}">{$race.rname}</option>
            {/volist}
          </select>
          <input type="text" name="table" value="judges" style="display: none;">
          <input type="submit" value="查询">
        </form>
      </div>

      <div style="position: absolute;left: 1100px;top: 20px;">
        <form action="http://www.tp5.com/vote/root/search" method="post">
          <input type="text" name="mess" placeholder="请输入想搜索的评委姓名">
          <input type="text" name="table" value="judges" style="display: none;">
          <input type="submit" value="提交">
        </form>
      </div>
     
      
    
    <div class="clearfix"></div>

    <div class="row">
      <div class="col-md-12">
        <div class="x_panel">
          <div class="x_title">
            <div class="clearfix"></div>
          </div>
            <!-- start project list -->
            <table class="table table-striped projects">
              <thead>
                <tr>
                  <th style="width: 10%">评委账号</th>
                  <th style="width: 20%">头像</th>
                  <th>评委</th>
                  <th>电话</th>
                  <th>参与赛事</th>
                  <th style="width: 20%">操作</th>

                </tr>
              </thead>  
              <tbody>
                {volist name='data' id='da'}
                <tr>
                  <td>{$da.jid}</td>
                  <td>
                       <img src="/static/vote{$da.jpic}" alt="评委" width="80px" height="80px"> 
                  </td>
                  <td>
                    {$da.jname}
                  </td>
                  <td class="project_progress">
                    {$da.tel}
                  </td>
                  <td>
                    {$da.rname}
                  </td>
                  <td>
                    <a href="http://www.tp5.com/vote/Root/delpw?id={$da.jid}" class="btn btn-primary btn-xs">删除 </a>
                    <a href="http://www.tp5.com/vote/Root/editpw?id={$da.jid}" class="btn btn-info btn-xs">编辑 </a>
                    <a href="http://www.tp5.com/vote/Root/resetpw?id={$da.jid}" class="btn btn-info btn-xs">重置密码 </a>
                  </td>
                </tr>
                {/volist}     
              </tbody>
            </table>
            <!-- end project list -->
            <div>{$data->render()}</div>
          </div>
        </div>
      </div>
    </div>
  </div>

  {include file="rootbase/foot"}